package com.illtamer.infinite.morii.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.illtamer.infinite.morii.pojo.MoriiVerify;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.Nullable;

import java.util.List;

@Mapper
public interface MoriiVerifyMapper extends BaseMapper<MoriiVerify> {

    /**
     * @param prefix 查询目标组名所拥有的前缀
     * @apiNote 仅查询前四个字段
     * */
    List<MoriiVerify> getPrefixMoriiVerifies(@Nullable @Param("prefix") String prefix);

}
